package com.yehuishou.service;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.PageInfo;
import com.yehuishou.pojo.AssemblyPartsList;
import com.yehuishou.pojo.Parts;
import com.yehuishou.pojo.User;
import com.yehuishou.pojo.Version;

public interface PartsService {
	PageInfo<Parts> get(Integer pageNum, Integer pageSize,Parts parts);
	PageInfo<AssemblyPartsList> getList(Integer pageNum, Integer pageSize,AssemblyPartsList assemblyPartsList );
	
	boolean delete(Integer xid);
	
	boolean deletesPart(AssemblyPartsList assemblyPartsList);
	
    void insert(Parts parts);
    
    void insertPart(AssemblyPartsList assemblyPartsList );
    
    List<Parts> getProcessor();
    
    List<String> getPhone();
    
    List<Parts> getUid(String phone);
    
    List<Version> getProcessor_version(Integer xid);
    
    List<Version> getMemory_version();
    
    List<Version> getMainboard_version();
    
    List<Version> getVideo_card_version();
    
    boolean deleteStore(Integer sid);
    
    void updatePrice1(Parts parts);
    void deleteP(Integer [] gids);
}
